Optimal. Leaf size=83 \[ \frac {1}{8 a^2 b c^3 (a-b x)^2}+\frac {1}{4 a^3 b c^3 (a-b x)}-\frac {1}{8 a^3 b c^3 (a+b x)}+\frac {3 \tanh ^{-1}\left (\frac {b x}{a}\right )}{8 a^4 b c^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 83, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.105, Rules used = {46, 214}
\begin {gather*} \frac {3 \tanh ^{-1}\left (\frac {b x}{a}\right )}{8 a^4 b c^3}+\frac {1}{4 a^3 b c^3 (a-b x)}-\frac {1}{8 a^3 b c^3 (a+b x)}+\frac {1}{8 a^2 b c^3 (a-b x)^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 46
Rule 214
Rubi steps
\begin {align*} \int \frac {1}{(a+b x)^2 (a c-b c x)^3} \, dx &=\int \left (\frac {1}{4 a^2 c^3 (a-b x)^3}+\frac {1}{4 a^3 c^3 (a-b x)^2}+\frac {1}{8 a^3 c^3 (a+b x)^2}+\frac {3}{8 a^3 c^3 \left (a^2-b^2 x^2\right )}\right ) \, dx\\ &=\frac {1}{8 a^2 b c^3 (a-b x)^2}+\frac {1}{4 a^3 b c^3 (a-b x)}-\frac {1}{8 a^3 b c^3 (a+b x)}+\frac {3 \int \frac {1}{a^2-b^2 x^2} \, dx}{8 a^3 c^3}\\ &=\frac {1}{8 a^2 b c^3 (a-b x)^2}+\frac {1}{4 a^3 b c^3 (a-b x)}-\frac {1}{8 a^3 b c^3 (a+b x)}+\frac {3 \tanh ^{-1}\left (\frac {b x}{a}\right )}{8 a^4 b c^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 68, normalized size = 0.82 \begin {gather*} \frac {\frac {2 a \left (2 a^2+3 a b x-3 b^2 x^2\right )}{(a-b x)^2 (a+b x)}-3 \log (a-b x)+3 \log (a+b x)}{16 a^4 b c^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.18, size = 82, normalized size = 0.99
method | result | size |
risch | \(\frac {-\frac {3 b \,x^{2}}{8 a^{3}}+\frac {3 x}{8 a^{2}}+\frac {1}{4 a b}}{\left (b x +a \right ) c^{3} \left (-b x +a \right )^{2}}-\frac {3 \ln \left (-b x +a \right )}{16 a^{4} c^{3} b}+\frac {3 \ln \left (b x +a \right )}{16 a^{4} c^{3} b}\) | \(80\) |
default | \(\frac {-\frac {3 \ln \left (-b x +a \right )}{16 a^{4} b}+\frac {1}{4 a^{3} b \left (-b x +a \right )}+\frac {1}{8 a^{2} b \left (-b x +a \right )^{2}}+\frac {3 \ln \left (b x +a \right )}{16 a^{4} b}-\frac {1}{8 a^{3} b \left (b x +a \right )}}{c^{3}}\) | \(82\) |
norman | \(\frac {\frac {1}{4 a b c}+\frac {3 x}{8 a^{2} c}-\frac {3 b \,x^{2}}{8 a^{3} c}}{\left (b x +a \right ) c^{2} \left (-b x +a \right )^{2}}-\frac {3 \ln \left (-b x +a \right )}{16 a^{4} c^{3} b}+\frac {3 \ln \left (b x +a \right )}{16 a^{4} c^{3} b}\) | \(89\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 108, normalized size = 1.30 \begin {gather*} -\frac {3 \, b^{2} x^{2} - 3 \, a b x - 2 \, a^{2}}{8 \, {\left (a^{3} b^{4} c^{3} x^{3} - a^{4} b^{3} c^{3} x^{2} - a^{5} b^{2} c^{3} x + a^{6} b c^{3}\right )}} + \frac {3 \, \log \left (b x + a\right )}{16 \, a^{4} b c^{3}} - \frac {3 \, \log \left (b x - a\right )}{16 \, a^{4} b c^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.95, size = 146, normalized size = 1.76 \begin {gather*} -\frac {6 \, a b^{2} x^{2} - 6 \, a^{2} b x - 4 \, a^{3} - 3 \, {\left (b^{3} x^{3} - a b^{2} x^{2} - a^{2} b x + a^{3}\right )} \log \left (b x + a\right ) + 3 \, {\left (b^{3} x^{3} - a b^{2} x^{2} - a^{2} b x + a^{3}\right )} \log \left (b x - a\right )}{16 \, {\left (a^{4} b^{4} c^{3} x^{3} - a^{5} b^{3} c^{3} x^{2} - a^{6} b^{2} c^{3} x + a^{7} b c^{3}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.22, size = 104, normalized size = 1.25 \begin {gather*} - \frac {- 2 a^{2} - 3 a b x + 3 b^{2} x^{2}}{8 a^{6} b c^{3} - 8 a^{5} b^{2} c^{3} x - 8 a^{4} b^{3} c^{3} x^{2} + 8 a^{3} b^{4} c^{3} x^{3}} - \frac {\frac {3 \log {\left (- \frac {a}{b} + x \right )}}{16} - \frac {3 \log {\left (\frac {a}{b} + x \right )}}{16}}{a^{4} b c^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.70, size = 81, normalized size = 0.98 \begin {gather*} -\frac {3 \, \log \left ({\left | -\frac {2 \, a}{b x + a} + 1 \right |}\right )}{16 \, a^{4} b c^{3}} - \frac {1}{8 \, {\left (b x + a\right )} a^{3} b c^{3}} + \frac {\frac {12 \, a}{b x + a} - 5}{32 \, a^{4} b c^{3} {\left (\frac {2 \, a}{b x + a} - 1\right )}^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.10, size = 86, normalized size = 1.04 \begin {gather*} \frac {\frac {3\,x}{8\,a^2}+\frac {1}{4\,a\,b}-\frac {3\,b\,x^2}{8\,a^3}}{a^3\,c^3-a^2\,b\,c^3\,x-a\,b^2\,c^3\,x^2+b^3\,c^3\,x^3}+\frac {3\,\mathrm {atanh}\left (\frac {b\,x}{a}\right )}{8\,a^4\,b\,c^3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________